﻿using Share;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SystemHYS.Domian
{
    /// <summary>
    /// 出库表
    /// </summary>
    public class Delivery:Audit
    {
        [Key]
        public int deliveryId { get; set; }
        /// <summary>
        /// 出库名称
        /// </summary>
        public string? deliveryName { get; set; }
        /// <summary>
        /// 出库编号
        /// </summary>
        public string deliveryNumber { get; set; }
        /// <summary>
        /// 出库日期
        /// </summary>
        public DateTime deliveryDate { get; set; }
        /// <summary>
        /// 订单编号
        /// </summary>
        public string? orderNumber { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? remark { get; set; }
        /// <summary>
        /// 成品名称
        /// </summary>
        public string? finishedProductName { get; set; }
        /// <summary>
        /// 成品编号
        /// </summary>
        public string? finishedProductNumber { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string? specification { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string? unit { get; set; }
        /// <summary>
        /// 生产批次号
        /// </summary>
        public string? productionNumber { get; set; }
        /// <summary>
        /// 出库数量
        /// </summary>
        public int outboundQuantity { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string? warehouseName { get; set; }
        /// <summary>
        /// 生产日期
        /// </summary>
        public DateTime? dateTime { get; set; }
        /// <summary>
        /// 仓库负责人
        /// </summary>
        public string? warehousePerson {  get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int? state { get; set; } = 0;
        /// <summary>
        /// 删除标志
        /// </summary>
        public bool isDel { get; set; } = false;

    }
}
 